package com.google.code.timetrail.logging;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class MyApp {

  static Logger logger = Logger.getLogger(MyApp.class);

  public static void main(String[] args) {


    // BasicConfigurator replaced with PropertyConfigurator.
    PropertyConfigurator.configure("time.properties");

    logger.info("Entering application.");
    logger.debug("Moves Like Jagger");
    logger.info("Exiting application.");
  }
}